using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;

namespace HengTong.Model.Db.System;

public class SysBillRoute : TopBasePoco
{
    [Display(Name = "单据名称", Description = "单据的名称", GroupName = "基本信息")]
    [Required(ErrorMessage = "请输入编码名称")]
    [MaxLength(128)]
    public string Name { get; set; }

    [Display(Name = "单据类型", Description = "业务单据类型（使用模型名称）", GroupName = "基本信息")]
    [Required(ErrorMessage = "请输入编码类型")]
    [MaxLength(128)]
    public string CodeType { get; set; }
    
    [Display(Name = "PC端路由地址", Description = "单据的访问路由地址", GroupName = "基本信息")]
    [StringLength(128)]
    public string PcRoute { get; set; }
    
    [Display(Name = "移动端路由地址", Description = "单据的访问路由地址", GroupName = "基本信息")]
    [StringLength(128)]
    public string MobileRoute { get; set; }
}